/*  获取榜单的接口API  */

import request from "@/utils/request.js"
 
 export function topList(){
	 return new Promise(function(reslove,reject){
		 request({
		 	url: "/toplist/detail",
		 		method:"GET",
		 		success: ({data:res}) => {
		 			reslove(res.list.slice(0,4))
		 		}
		 })
	 })
	 
 }